//
//  DESUtils.h
//  IVpn
//
//  Created by user on 16-4-19.
//  Copyright (c) 2016年 user. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonDigest.h>
#import <CommonCrypto/CommonCryptor.h>

@interface DESUtils : NSObject

+ (NSString *) encode:(NSString *)str;
+ (NSString *) decode:(NSString *)str;
+ (NSString *) encodeAndBase:(NSString *)str;
+ (NSString *)convertToJsonData:(NSDictionary *)dict;
- (NSString *) encode:(NSString *)str;
@end
